export default {
	namespaced:true,
	state:()=>({
		userInfo:null
	}),
	mutations:{
		initInfoMut(state,userinfo){
			state.userInfo = userinfo
			uni.setStorage({
				key:'uni-user-info',
				data:userinfo
			})
		}
	}
}